<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
		<div class="top">
			<img class="titleimg" alt="标题" src="<c:url value='/imgs/title.png'/>" />
			<div class="usermsg">
				<c:if test="${!empty sessionScope.employee }">
					欢迎您：<span class="uname">${sessionScope.employee.name }</span>
					&nbsp;&nbsp;|&nbsp;&nbsp;
					<a href="javascript:if(confirm('确实要退出登录吗?'))location='<c:url value='/quit' />'">退出</a> 
				</c:if>
				<c:if test="${empty sessionScope.employee }">
					<a href="<c:url value='/jsps/login.jsp' /> ">未登录</a>
				</c:if>
			</div>
		</div>
		<div class="left">
			<c:if test="${sessionScope.employee.power eq '0' }">
				<ul>
					<li class="mechanism"><a href="<c:url value='/queryMechanism?type=1&pc=1'/>">机构管理</a></li>
					<li class="employee"><a href="<c:url value='/queryEmployee?type=2&way=1'/>">员工管理</a></li>
					<li class="holiday"><a href="<c:url value='/querySpecday?type=1&pc=1'/>">节假日管理</a></li>
					<li class="attend"><a href="<c:url value='/queryRunresult?type=1'/>">考勤管理</a></li>
					<li class="update"><a href="<c:url value='/jsps/updatepw.jsp'/>">修改密码</a></li>	
				</ul>
			</c:if>
			<c:if test="${sessionScope.employee.power eq '1' }">
				<ul>
					<li class="attend"><a href="<c:url value='/jsps/attend/query.jsp'/>">查询考勤</a></li>
					<li class="update"><a href="<c:url value='/jsps/updatepw.jsp'/>">修改密码</a></li>				
				</ul>
			</c:if>
		</div>
		